<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	template="/member/layout/loginLayout.xhtml">

	<ui:param name="param_pageTitle" value="#{propertiesAccessor.getProperty('ruijie.project')}" />

	<ui:define name="navigation">
		用户登录
	</ui:define>

	<ui:define name="title">
		<div class="info">用户登录</div>
	</ui:define>
	<ui:define name="panelContent">
		<div class="loginPanel">
			<form  method="post"
				action="${facesContext.externalContext.requestContextPath}/j_spring_security_check">
				<div class="fieldSet ">
					<c:if test="${not empty SPRING_SECURITY_LAST_EXCEPTION.message}">
					<div class="msg"><p>${SPRING_SECURITY_LAST_EXCEPTION.message}</p></div>
					</c:if>
					<div class="field clear">
						<div class="label">登录账号：</div>
						<div class="input">
							<input class="text-input" type="text" name="j_username"
								value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}" />
						</div>
						<div>
							<h:message styleClass="fieldMessage" id="username_message"
								for="j_username" />
						</div>
					</div>
					<div class="field clear">
						<div class="label">密码：</div>
						<div class="input">
							<input class="text-input" type="password" name="j_password" />
						</div>
						<div>
							<h:message styleClass="fieldMessage" id="password_message"
								for="j_password" />
						</div>
					</div>
					<div class="button">
						<h:commandButton class="btnLogin" value="登录"/>
						<a class="ml10" href="#">忘记密码？</a>
					</div>
				</div>
			</form>
			
			<div class="other_login">
            <p></p>
			<p class="partner">
			</p>
			</div>

		</div>
		<div class="registerPanel">
			<h3>您还不是路远商城的用户吗？</h3>
			<p>现在免费注册成为路路远商城用户，不出家门就能享受更多的优惠哦！</p>
			<div class="button">
				<a href="register.jsf" class="btnToRegister">注册新用户</a>
			</div>
		</div>
	</ui:define>
</ui:composition>